﻿using SmartWMS.Domain.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartWMS.Server.BasicsDatumServer.WarehouseManagementService.Dto
{
    public class WarehouseDto : KeyEntity
    {
		/// <summary>
		/// 仓库编号
		/// </summary>
		public string? WarehouseCode { get; set; }

		/// <summary>
		/// 仓库名称
		/// </summary>
		public string? Name { get; set; }

		/// <summary>
		/// 租赁时间
		/// </summary>
		public DateTime LleaseTime { get; set; } = DateTime.Now;

		/// <summary>
		/// 仓库类型
		/// </summary>
		public string? WarehouseType { get; set; }

		/// <summary>
		/// 是否禁用
		/// </summary>
		public bool IsDisable { get; set; } = false;

		/// <summary>
		/// 是否默认
		/// </summary>
		public bool IsDefault { get; set; } = false;

		/// <summary>
		/// 地址
		/// </summary>
		[MaxLength(200)]
		public string? Address { get; set; }

		/// <summary>
		/// 面积
		/// </summary>
		public string? Area { get; set; }


		/// <summary>
		/// 联系人
		/// </summary>
		public string? Contacts { get; set; }


		/// <summary>
		/// 电话
		/// </summary>
		public string? Phone { get; set; }

		/// <summary>
		/// 仓库用途
		/// </summary>
		[MaxLength(200)]
		public string? Usage { get; set; }

		/// <summary>
		/// 批量删除Id
		/// </summary>
		public string? DelId { get; set; }
	}
}
